/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package olympicgameslogic;

import java.io.Serializable;

/**
 *
 * @author 75
 */
public abstract class EditionEventParticipation implements Serializable,Comparable<Object> {
   
   
   private EditionDisciplineEvent editionDisciplineEvent;
   private Edition edition;

   public EditionEventParticipation() {
   }

   public EditionEventParticipation(EditionDisciplineEvent editionDisciplineEvent, Edition edition) {
      this.editionDisciplineEvent = editionDisciplineEvent;
      this.edition = edition;
   }
   
   
   public abstract Result getResult();

   /**
    * @return the editionDisciplineEvent
    */
   public EditionDisciplineEvent getEditionDisciplineEvent() {
      return editionDisciplineEvent;
   }

   /**
    * @return the edition
    */
   public Edition getEdition() {
      return edition;
   }

   /**
    * @param editionDisciplineEvent the editionDisciplineEvent to set
    */
   public void setEditionDisciplineEvent(EditionDisciplineEvent editionDisciplineEvent) {
      this.editionDisciplineEvent = editionDisciplineEvent;
   }

   /**
    * @param edition the edition to set
    */
   public void setEdition(Edition edition) {
      this.edition = edition;
   }
   
   public abstract void assignMedal(Medal.MEDALTYPE medalType);
   public abstract Nation getNationParticipation();
   @Override
   public String toString() {
      return super.toString();
   }
   
   

   
   
   
}
